@charset "utf-8";
.determine-row{
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
figure img{
    width: 100%;
    height: 100%;
}
/*通用部分*/
#home{
    width: 100%;
    box-sizing: border-box;
    padding-top: 50px;
}
.home-wrap{
    margin-bottom: 20px;
}
.home-title{
    font-size: 0;
}
.home-item{
    margin-bottom: 20px;
    overflow: hidden;
}
.home-item h2{
    font-size: 16px;
    line-height: 30px;
    text-indent: 10px;
    border-bottom: 1px solid #D3D3D5;
    margin-bottom: 10px;
    position: relative;
}
.home-item h2::before{
    content: "";
    position: absolute;
    left:0;
    top:50%;
    transform: translateY(-50%);
    height: 20px;
    border-left:4px solid #FF8936;
}
.home-top{
    display: flex;
    justify-content: flex-start;
}
.home-top-type{
    position: relative;
    overflow: hidden;
}
.home-top-img{
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    transform-origin: center;
}
.home-top-type:hover .home-top-img{
    cursor: pointer;
    transform: scale(1.2);
}
.home-top-type a{
    font-size: 18px;
    font-weight: bolder;
    color: #fff;
    position: absolute;
    top:50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    text-shadow: 2px 2px 2px #000;
}
.home-recmoend-item{
    overflow: hidden;
}
.home-recmoend-item figure{
    height: 160px;
    overflow: hidden;
}
.home-recmoend-item img{
    transition: .5s;
}
.home-recmoend-item:hover img{
    transition: .5s;
    transform: scale(1.2);
}
.home-recmoend-item-content{
    padding: 8px;
    padding-top: 0;
}
.home-recmoend-item-content h3{
    font-size: 14px;
    line-height: 30px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-recmoend-item-content p{
    font-size: 12px;
}
.home-latest-item{
    padding: 5px;
    transition: .5s;
}
.home-latest-item-content{
    display: flex;
    align-items: center;
}
.home-latest-item-content article h3{
    line-height: 25px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.home-latest-item-content article p{
    color:#444;
    -webkit-line-clamp: 3;
    font-size: 12px;
    line-height: 18px;
}
.friendlink-items{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.friendlink-item{
    margin-bottom: 10px;
}
.friendlink-item a{
    display: block;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 10px;
    font-size: 12px;
    border:1px solid #BFBFBF;
    transition: .5s;
}
.friendlink-item a:hover{
    cursor: pointer;
    color: #fff;
    background-color: #E5E8E9;
}

@media screen and (min-width: 750px){
    .home-wrap{
        width:1000px;
        margin: 20px auto;
    }
    .home-item{
        border-radius: 5px;
        box-shadow: 3px 3px 5px #CCCDCE;
        background-color: #fff;
    }
    .home-top{
        padding: 10px;
        flex-wrap:nowrap;
        justify-content: space-between;
    }
    .home-top-banner{
        width: 400px;
    }
    .home-top-center{
        width: 280px;
        height: 225px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .home-top-type{
        width: 100%;
        height: 109px;
    }
    .home-top-author{
        width: 280px;
        height: 225px;
        padding: 10px;
        background-color:#174D4C;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
    }
    .home-top-author figure{
        width: 100px;
        height: 100px;
        border-radius: 50%;
        overflow: hidden;
    }
    .home-top-author figure img{
        width: 100%;
        height: 100%;
    }
    .home-top-author  p{
        color: #fff;
        font-size: 14px;
        line-height: 25px;
        -webkit-line-clamp: 2;
    }
    .home-recmoend-items{
        display: flex;
        flex-wrap:wrap;
        justify-content: space-between;
        padding: 10px;
        padding-bottom: 0;
    }
    .home-recmoend-item{
        flex:0 0 32%;
        border-radius: 10px;
        margin-bottom: 15px;
        box-shadow: 0 0 1px #444;
        transition: .5s;
    }
    .home-recmoend-item:hover{
        box-shadow: 0 0 10px #C1C1C1;
    }
    .home-recmoend-item-content p{
        color: #444;
    }
    .home-latest-items{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 10px;
    }
    .home-latest-item{
        width: 50%;
        border: 1px solid #DDDDDD;
    }
    .home-latest-item:nth-of-type(2n){
        border-left: 0;
    }
    .home-latest-item:nth-of-type(3),.home-latest-item:nth-of-type(4){
        border-top: 0;
        border-bottom: 0;
    }
    .home-latest-item:hover{
        box-shadow: 0 0 10px #C1C1C1;
    }
    .home-latest-item-content{
        justify-content: flex-start;
    }
    .home-latest-item-content figure{
        width: 144px;
        height:90px;
        margin-right: 10px;
        border-radius: 5px;
        overflow: hidden;
    }
    .home-latest-item img{
        transition: .5s;
    }
    .home-latest-item:hover img{
        transform: scale(1.2);
    }
    .home-latest-item-content article{
        width: calc(100% - 144px - 10px);
    }
    .home-latest-item-content article h3{
        font-size: 16px;
    }
    .friendlink-items{
        padding: 10px;
    }
}
@media screen and (min-width:750px) and (max-width: 1000px){
    .home-wrap{
        width:95%;
        margin: 20px auto;
    }
    .home-top-banner{
        width: 380px;
    }
    .home-top-center{
        width:calc((100% - 400px)/3*2);
        height: 214px;
    }
    .home-top-type{
        width: 100%;
        height: 102px;
    }
    .home-top-author{
        width:calc((100% - 400px)/3);
        height: 214px;
    }
    .home-top-author figure{
        width: 90px;
        height: 90px;
    }
    .home-top-author  p{
        color: #fff;
        font-size: 13px;
    }
}
@media screen and (max-width: 750px){
    .home-item ~ .home-item{
        width: 90%;
        margin: 20px auto;
    }
    .home-top{
        flex-wrap: wrap;
    }
    .home-top-center{
        width: 100%;
    }
    .home-top-type{
        width: 90%;
        height: 100px;
        margin: 0 auto;
        margin-top:10px;
        border-radius: 5px;
    }
    .home-top-author{
        display: none;
    }
    .home-recmoend-item{
        border-radius: 7px;
        background-color: #fff;
        filter:drop-shadow(0px 5px 3px #DBDEE0);
        margin: 20px auto;
    }
    .home-recmoend-item-content p{
        color: #AEB2B7;
    }
    .home-latest-item{
        background-color: #fff;
    }
    .home-latest-item ~ .home-latest-item{
        border-top: 1px solid #DDDDDD;
    }
    .home-latest-item:hover{
        background-color: #E0E0E0;
    }
    .home-latest-item-content{
        display: flex;
        align-items: center;
    }
    .home-latest-item-content figure{
        width: 96px;
        height:60px;
        margin-right: 5px;
    }
    .home-latest-item-content article{
        width: calc(100% - 96px - 5px);
        transform-origin:left ;
        transform: scale(.9);
    }
    .home-latest-item-content article h3{
        font-size: 14px;
    }
    .home-latest-item-content article p{
        width: 110%;
    }
}